# -*- coding:utf-8 -*-
# @Author: shenyuyu
# @Time: 2023/6/12 15:00
# @File: qu_5.py

"""
凑钱，使用1元、2元和5元，要凑20元钱有多少种可能，都是怎么凑的
"""
count = 0
for x in range(0, 21):
    for y in range(0, 11):
        for z in range(0, 5):
            if (x + 2 * y + 5 * z) == 20:
                print("%d,%d,%d" % (x, y, z))
                count = count + 1
print(count)
